package com.novax.ex.common.constant;

/**
 * @Description: MQ队列常量
 * @Author: ChenXi
 * @Date:  2022/12/13 16:24
 * @Param:
 * @return:
 **/
public interface MqConstants {


    //消息前缀
    String PRE = "activity.";

    interface Queue{

        /** IEO活动解冻处理 */
        String ACTIVITY_IEO_SETTLE_QUEUE = "activity_ieo_settle_queue";


        String ACTIVITY_IEO_UNFREE_QUEUE = "activity_ieo_unfree_queue";

        /** 现货交易解冻ET计算 */
        String SPOT_EX_UNFROZEN = "spot.invitation.order.unfrozen";
        /** 合约交易解冻ET计算 */
        String SWAP_EX_UNFROZEN = "swap.invitation.order.unfrozen";
        /** 邀请人解冻计算 */
        String SPOT_INVITER_UNFROZEN = "spot.inviter.unfrozen";
        /** 解锁奖励发放到现货账户 */
        String SPOT_INVITATION_REWARD_SEND = "spot.invitation.order.reward";

        // beeb平台用户数据
        String BEEB_USER="beeb_user";

        // beeb平台用户发放资金
        String SEND_BEEB_ASSETS = "send_beeb_assets";

        // beeb内部转账数据
        String BEEB_INTERNAL_ORDER="beeb_internal_order";

        // beeb内部转账数据
        String BEEB_INTERNAL_ORDER_HISTORY="beeb_internal_order_history";

    }

    interface Exchange{

        // ieo活动到达结束时间后订单处理交换机
        String ACTIVITY_IEO_SETTLE_EXCHANGE = "activity_ieo_settle_open_exchange";
        // 与交换机绑定的key
        String ACTIVITY_IEO_SETTLE_KEY = "activity_ieo_settle_open_key";


        // ieo活动到达解冻时间后订单处理交换机
        String ACTIVITY_IEO_UNFREE_EXCHANGE = "activity_ieo_unfree_open_exchange";
        // 与交换机绑定的key
        String ACTIVITY_IEO_UNFREE_KEY = "activity_ieo_unfree_open_key";

        // 返佣返现统计topic
        String SPOT_TOPIC_INVITATION = "spot.topic.invitation";
        // 返佣返现统计topic绑定的key
        String SPOT_INVITATION_KEY = "spot.invitation.key";
        // 返佣返现统计topic
        String SWAP_TOPIC_INVITATION = "swap.topic.invitation";
        // 返佣返现统计topic绑定的key
        String SWAP_INVITATION_KEY = "swap.invitation.key";

        String BEEB_USER_EXCHANGE="beeb_user_exchange";
        String BEEB_USER_KEY="beeb_user_key";

        String BEEB_INTERNAL_ORDER_EXCHANGE="beeb_internal_order_exchange";
        String BEEB_INTERNAL_ORDER_KEY="beeb_internal_order_key";

        String BEEB_INTERNAL_ORDER_HISTORY_EXCHANGE="beeb_internal_order_history_exchange";
        String BEEB_INTERNAL_ORDER_HISTORY_KEY="beeb_internal_order_history_key";
    }

    interface MallProduct{
        //商品上架
        String Put_On_Queue = PRE + "product.put.on";
        //商品删除
        String Del_Queue = PRE + "product.del";

        //商品价格变动
        String Update_Price_Queue = PRE + "product.update.price";
        //商品成本变动
        String Update_Cost_Queue = PRE + "product.update.cost";
    }

    interface MallOrder{
        //购买成功
        String Buy_Success = PRE + "order.buy";
        //抽奖完成
        String Prize_Success = PRE + "order.prize";
        //退款
        String Prize_Refund = PRE + "order.refund";
    }
}
